import  axios from  'axios'

export default class FlowAuditService {
    static flowAuditService = null

    static getInstance(){
        if(this.flowAuditService == null){
            this.flowAuditService = new FlowAuditService()
        }
        return this.flowAuditService
    }

    selectByFid(fid){
        return axios.get(`http://localhost/formAudits/form/${fid}`)
    }

    save(Approval){
        return axios.post(`http://localhost/formAudits`,Approval)
    }

}
